package com.frame.sulent.datasource.common;

import java.sql.Connection;

/**
 * @ClassName AbstractDataSourceClient
 * @Description: 抽象数据源客户端-mongo/minio/dds...
 * @Author Submerge.
 * @Since 2024/11/14 14:32
 * @Version 1.0
 */
public abstract class AbstractDataSourceClient implements DataSourceClient{

    @Override
    public void checkClient() {
        throw new UnsupportedOperationException("");
    }

    @Override
    public Connection getConnection() {
        throw new UnsupportedOperationException();
    }

    @Override
    public String getSchema() {
        throw new UnsupportedOperationException();
    }

    @Override
    public String getDatabase() {
        throw new UnsupportedOperationException("不支持获取数据库");
    }

    @Override
    public void close() throws Exception {

    }
}
